<template>
  <echarts :list="list" :name="NAME" :idstr="ID" :field="field"/>
</template>

<script>
import echarts from './echarts.vue'
export default {
  components: {
    echarts
  },
  props: {
    list: {
      type: Array,
      default: null
    }
  },
  created() {
    this.NAME = '就业年限（年）'
    this.ID = 'echart-age-limit'
    this.field = ['小于2', '2', '3', '4', '5', '6', '7', '8', '9', '10', '大于10']
  }
}
</script>

<style lang="scss">
.age-limit-card{
  .header-empty{
    width: 80px;
  }
  .sparkle-table{
    width: 100%;
  }
}
</style>
